package com.yunmang.entity;

import java.util.List;

/**
 * Created by Administrator on 2017/6/5.
 */
public class CommonOptionBean {

    /**
     * code : 200
     * message : null
     * model : {"pack":[{"key":"桶","value":"桶"},{"key":"包","value":"包"}],"balanceMethod":[{"key":"1","value":"到付"},{"key":"2","value":"现付"}]}
     */

    private int code;
    private Object message;
    private ModelBean model;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public Object getMessage() {
        return message;
    }

    public void setMessage(Object message) {
        this.message = message;
    }

    public ModelBean getModel() {
        return model;
    }

    public void setModel(ModelBean model) {
        this.model = model;
    }

    public static class ModelBean {
        /**
         * key : 桶
         * value : 桶
         */

        private List<PackBean> pack;
        /**
         * key : 1
         * value : 到付
         */

        private List<BalanceMethodBean> balanceMethod;

        public List<PackBean> getPack() {
            return pack;
        }

        public void setPack(List<PackBean> pack) {
            this.pack = pack;
        }

        public List<BalanceMethodBean> getBalanceMethod() {
            return balanceMethod;
        }

        public void setBalanceMethod(List<BalanceMethodBean> balanceMethod) {
            this.balanceMethod = balanceMethod;
        }

        public static class PackBean {
            private String key;
            private String value;

            public String getKey() {
                return key;
            }

            public void setKey(String key) {
                this.key = key;
            }

            public String getValue() {
                return value;
            }

            public void setValue(String value) {
                this.value = value;
            }
        }

        public static class BalanceMethodBean {
            private String key;
            private String value;

            public String getKey() {
                return key;
            }

            public void setKey(String key) {
                this.key = key;
            }

            public String getValue() {
                return value;
            }

            public void setValue(String value) {
                this.value = value;
            }
        }
    }
}
